home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MGE USV-Infopaket 2003 January
/
MGE USV Infopaket Ausgabe 1-2003 (German).iso
/
extreme
/
INIT.DIR
/
00001_Script_init chemin
next >
Wrap
Text File
|
2001-07-12
|
2KB
|
70 lines
global gPathCD , gPathDD , gDelimiterChemin
on exitFrame
ClearGlobals
puppettempo 1000
--debut de rajout
tempo = ""
-- fin de rajout
-- delimite le chemin mac ou pc
if the platform contains "Mac" then
gDelimiterChemin = ":"
-- on ne sais pas quel est le disque principal !!!
-- tempo = DrivesToList()[1] --"disque dur" --hard drive"
listTemp = DrivesToList()
repeat with a in listTemp
if DirectoryExists(a & gDelimiterChemin & "CD Extreme" & gDelimiterChemin & "MGELIENS")=0 then
tempo = a
exit repeat
end if
end repeat
else
gDelimiterChemin ="\"
listTemp = DrivesToList()
repeat with a in listTemp
if a <>"A:" and a <>"B:" then
if DirectoryExists(a & gDelimiterChemin & "CD Extreme" & gDelimiterChemin & "MGELIENS")=0 then
tempo = a
exit repeat
end if
end if
end repeat
end if
gPathDD = the pathname & "DATA" & gDelimiterChemin
-- gPathCD = the pathname & "MGELIENS"
gPathCD = tempo & gDelimiterChemin & "CD Extreme" & gDelimiterChemin & "MGELIENS"
-- debut de rajout
if tempo="" then
alert "Veuillez effectuer une installation..."
quit
end if
-- fin de rajout
-- INVERSION DE LA RECHERCHE :
the searchPaths=[gPathDD,gPathCD]
--the searchPaths=[gPathCD , gPathDD]
end